#ifndef FINDME2NDCONTAINERGPS_H_
#define FINDME2NDCONTAINERGPS_H_
// INCLUDES
#include <coecntrl.h>
#include "Common.h"

// FORWARD DECLARATIONS
class CEikLabel;		// for example labels

// CLASS DECLARATION

/**
*  CFindMe2ndContainerGps  container control class.
*  
*/
class CFindMe2ndContainerGps : public CCoeControl, MCoeControlObserver
	{
	public: // Constructors and destructor
		
		/**
		* EPOC default constructor.
		* @param aRect Frame rectangle for container.
		*/
		void ConstructL(const TRect& aRect);

		/**
		* Destructor.
		*/
		~CFindMe2ndContainerGps();

	public: // New functions
		void DisplayLabel(const enum TDisplaySection& aSection, const TDesC& aText);
	public: // Functions from base classes

	private: // Functions from base classes

	   /**
		* From CoeControl,SizeChanged.
		*/
		void SizeChanged();

	   /**
		* From CoeControl,CountComponentControls.
		*/
		TInt CountComponentControls() const;

	   /**
		* From CCoeControl,ComponentControl.
		*/
		CCoeControl* ComponentControl(TInt aIndex) const;

	   /**
		* From CCoeControl,Draw.
		*/
		void Draw(const TRect& aRect) const;

	   	
		/**
		* From MCoeControlObserver
		* Acts upon changes in the hosted control's state. 
		*
		* @param	aControl	The control changing its state
		* @param	aEventType	The type of control event 
		*/
		void HandleControlEventL(CCoeControl* aControl,TCoeEvent aEventType);
		
	private: //data
		
		CEikLabel* iLabelStatus;		 
		CEikLabel* iLabelLatitude;
		CEikLabel* iLabelLongitude;
		CEikLabel* iLabelGpsSignal;
		CEikLabel* iLabelNumSat;
		CEikLabel* iLabelAlt;


	};

#endif /*FINDME2NDCONTAINERGPS_H_*/
